package com.minimalist.lindi.service;

import com.minimalist.common.config.mybatis.bo.PageResp;
import com.minimalist.common.entity.lindi.po.LindiSubsidyApplication;
import com.minimalist.common.entity.lindi.vo.subsidyapplication.LindiSubsidyApplicationQueryVO;
import com.minimalist.common.entity.lindi.vo.subsidyapplication.LindiSubsidyApplicationVO;
import com.mybatisflex.core.service.IService;

/**
 * 林地指标交易平台_补贴申请表 服务层。
 *
 * @author 11987
 * @since 2025-06-09
 */
public interface LindiSubsidyApplicationService extends IService<
        LindiSubsidyApplication>{

    /**
     * 添加补贴申请
     *
     * @param subsidyApplicationVO 补贴申请VO
     */
    void addSubsidyApplication(LindiSubsidyApplicationVO subsidyApplicationVO);

    /**
     * 根据ID删除补贴申请
     *
     * @param subsidyApplicationId 补贴申请ID
     */
    void deleteSubsidyApplicationBySubsidyApplicationId(Long subsidyApplicationId);

    /**
     * 根据ID更新补贴申请
     *
     * @param subsidyApplicationVO 补贴申请VO
     */
    void updateSubsidyApplicationBySubsidyApplicationId(
            LindiSubsidyApplicationVO subsidyApplicationVO);

    /**
     * 分页查询补贴申请列表
     *
     * @param queryVO 查询条件
     * @return 分页结果
     */
    PageResp<LindiSubsidyApplicationVO> getPageSubsidyApplicationList(
            LindiSubsidyApplicationQueryVO queryVO);

    /**
     * 根据ID查询补贴申请
     *
     * @param subsidyApplicationId 补贴申请ID
     * @return 补贴申请VO
     */
    LindiSubsidyApplicationVO getSubsidyApplicationBySubsidyApplicationId(Long subsidyApplicationId);

    /**
     * 根据文件ID删除补贴申请文件
     *
     * @param fileId 文件ID
     */
    void deleteSubsidyApplicationFileByFileId(Long fileId);
}